home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 1 / PC Actual CD 01.iso / share / dos / graficos / plydat14.arj / MONKEY.PI < prev    next >
Encoding:
Text File  |  1992-02-04  |  715 b   |  32 lines

  1. # Generic Polyray input File
  2. # Polyray input file: Alexander Enzmann
  3.  
  4. # Set up the camera
  5. viewpoint {
  6.    from <0, 5, -5>
  7.    at   <0, 0,  0>
  8.    up   <0, 1,  0>
  9.    angle 30
  10.    resolution 160, 160
  11.    }
  12.  
  13. # Get various surface finishes
  14. include "colors.inc"
  15.  
  16. # Set up background color & lights
  17. background black
  18. light <10, 10, -20>
  19.  
  20. # Monkey Saddle
  21. # This surface has three parts that sweep up and three down.  This gives
  22. # a saddle that has a place for two legs and a tail...
  23. define c 1
  24. object {
  25.    polynomial c*(x^3 - 3*x*y^2) - z
  26.    root_solver Ferrari
  27.    bounds object { sphere <0, 0, 0>, sqrt(3) }
  28.    clips  object { box <-1, -1, -1>, <1, 1, 1> }
  29.    rotate <0, 30, 0>
  30.    shiny_red
  31.    }
  32.